package com.hrz.lib.rxmvpdemo2.contract.main;


import com.hrz.lib.rxmvpdemo2.BaseModule;
import com.hrz.lib.rxmvpdemo2.activity.FirstActivity;
import com.rxmvp.baselibrary.base.dagger.ActivityModule;
import com.rxmvp.baselibrary.dagger.GlobalComponent;
import com.rxmvp.baselibrary.dagger.PerActivity;

import dagger.Component;

/**
 * MainActivity的component，依赖于全局的GlobalComponent，负责管理与MainActivity相关的module
 *
 * 作者： huangRZ on 2017/1/21. 15:04
 * 邮箱：917647409@qq.com
 */
@PerActivity
@Component(dependencies = GlobalComponent.class, modules = {ActivityModule.class, BaseModule.class})
public interface MainComponent {
    void inject(FirstActivity activity);
}
